import request from '@/utils/request'

export function listJwc(params) {
  return request({
    url: "/comprehensive/zxj/apply/listJwc",
    method: 'get',
    params
  });
}

export function listXw(params) {
  return request({
    url: "/comprehensive/zxj/apply/listXw",
    method: 'get',
    params
  });
}


export function listFdy(params) {
  return request({
    url: "/comprehensive/zxj/apply/listFdy",
    method: 'get',
    params
  });
}


export function listOwn(params) {
  return request({
    url: "/comprehensive/zxj/apply/listOwn",
    method: 'get',
    params
  });
}

// 查询【请填写功能名称】列表
export function listApply(query) {
  return request({
    url: '/comprehensive/zxj/apply/list',
    method: 'get',
    params: query
  })
}

// 查询【请填写功能名称】详细
export function getApply(id) {
  return request({
    url: '/comprehensive/zxj/apply/' + id,
    method: 'get'
  })
}

// 新增【请填写功能名称】
export function addApply(data) {
  return request({
    url: '/comprehensive/zxj/apply/add',
    method: 'post',
    data: data
  })
}

// 修改【请填写功能名称】
export function updateApply(data) {
  return request({
    url: '/comprehensive/zxj/apply/update',
    method: 'post',
    data: data
  })
}


export function saveApply(data) {
  return request({
    url: '/comprehensive/zxj/apply/save',
    method: 'post',
    data: data
  })
}

// 删除【请填写功能名称】
export function delApply(id) {
  return request({
    url: '/comprehensive/zxj/apply/' + id,
    method: 'post'
  })
}



export function fdysh(data) {
  return request({
    url: '/comprehensive/zxj/apply/pass/fdy',
    method: 'post',
    data: data
  })
}

export function ejxysh(data) {
  return request({
    url: '/comprehensive/zxj/apply/pass/ejxy',
    method: 'post',
    data: data
  })
}
export function xxyj(data) {
  return request({
    url: '/comprehensive/zxj/apply/pass/xxyj',
    method: 'post',
    data: data
  })
}


export function nopass(data) {
  return request({
    url: '/comprehensive/zxj/apply/nopass',
    method: 'post',
    data: data
  })
}


export function isPoor(data) {
  return request({
    url: '/comprehensive/zxj/apply/isPoor',
    method: 'post',
    data: data
  })
}

export function getStudentInfo(data) {
  return request({
    url: '/comprehensive/zxj/apply/getStudentInfo',
    method: 'post',
    data: data
  })
}

export function nextApply(data) {
  return request({
    url: '/comprehensive/zxj/apply/nextApply',
    method: 'post',
    data: data
  })
}

export function batchUpdateFdy(data) {
  return request({
    url: '/comprehensive/zxj/apply/batchUpdateFdy',
    method: 'post',
    data: data
  })
}
//jwc一键审核
export function jwcUpdateAll(data) {
  return request({
    url: '/comprehensive/zxj/apply/jwcUpdateAll',
    method: 'post',
    data: data
  })
}
//撤销，撤回
export function revoke(data) {
  return request({
    url: '/comprehensive/zxj/apply/revoke',
    method: 'post',
    data: data
  })
}
//锁定
export function lock(data) {
  return request({
    url: '/comprehensive/zxj/apply/lock',
    method: 'post',
    data: data
  })
}
//解锁
export function unlock(data) {
  return request({
    url: '/comprehensive/zxj/apply/unlock',
    method: 'post',
    data: data
  })
}

// 学院审核统计
export function countXw(data) {
  return request({
    url: '/comprehensive/zxj/apply/countXw',
    method: 'post',
    data: data
  })
}